<%= javascript_include_tag "fckeditor" %>

<h2>Editing writeboard</h2>

<% form_tag :action => 'update', :id => @writeboard do %>
  <%= render :partial => 'form' %>
  <%= submit_tag 'Save', {:class => 'button'} %>
<% end %>
<br />
<br />
<%= link_to 'Show', :action => 'show', :id => @writeboard %> |
<%= link_to 'Back', :action => 'list' %>

<script type="text/javascript">
var oFCKeditor = new FCKeditor( 'writeboard_content' ) ;
oFCKeditor.ReplaceTextarea() ;
</script>
